package cn.xie.blog.webadmin.web.service;

import cn.xie.blog.model.common.param.login.LoginParam;
import cn.xie.blog.model.common.param.registered.RegisteredParam;
import cn.xie.blog.model.common.vo.UserDetailsVO;

/**
 * @author: xiaoxie
 * create: 2025-04-26 12:30
 * @BelongsProject: blog-parent
 * @BelongsPackage: cn.xie.blog.webadmin.web.service
 * description:
 */
public interface UserWebService {
    /**
     * @description: 登录
     * @author: xiaoxie
     * @date: 2025/4/22 下午9:00
     * @param: [loginParam]
     * @return: java.lang.Long
     **/
    String login(LoginParam loginParam);

    /**
     * @description: 根据用户id查询数据库
     * @author: xiaoxie
     * @date: 2025/4/24 下午3:40
     * @param: [userId]
     * @return: cn.xie.blog.model.common.vo.UserDetailsVO
     **/
    UserDetailsVO getUserDetailsById(String userId);
    /**
     * @description: 用户注销
     * @author: xiaoxie
     * @date: 2025/5/2 上午12:42
     * @param: []
     * @return: java.lang.Long
     **/
    Boolean logout();
}
